Towards a UTP Semantics for Modelica
نویسندگان
چکیده
We describe our work on a UTP semantics for the dynamic systems modelling language Modelica. This is a language for modelling a system’s continuous behaviour using a combination of differentialalgebraic equations and an event-handling system. We develop a novel UTP theory of hybrid relations, inspired by Hybrid CSP and Duration Calculus, that is purely relational and provides uniform handling of continuous and discrete variables. This theory is mechanised in our Isabelle implementation of the UTP, Isabelle/UTP, with which we verify some algebraic properties. Finally, we show how a subset of Modelica models can be given semantics using our theory. When combined with the wealth of existing UTP theories for discrete system modelling, our work enables a sound approach to heterogeneous semantics for Cyber-Physical systems by leveraging the theory linking facilities of the UTP.
منابع مشابه
Isabelle/UTP: A Mechanised Theory Engineering Framework
We introduce Isabelle/UTP, a novel mechanisation of Hoare and He’s Unifying Theories of Programming (UTP) in Isabelle/HOL. UTP is a framework for the study, formalisation, and unification of formal semantics. Our contributions are, firstly, a deep semantic model of UTP’s alphabetised predicates, supporting meta-logical reasoning that is parametric in the underlying notions of values and types. ...
متن کاملMeta Programming and Function Overloading in OpenModelica
The OpenModelica framework is an Open Source effort for building a complete compiler for Modelica started at the programming environments laboratory at Linköping university. It is written in a language called RML [10], Relational Meta Language, based on natural semantics. Natural semantics is a popular formalism for describing the semantics (i.e. the meaning of language constructs) for compiler...
متن کاملA Compositional Semantics for Modelica-style Variable-structureModeling
Modelica traditionally has a non-compositional semantic definition, based on so-called “flattening”. But in the realm of programming languages and theoretical computer science it is by now an accepted principle that semantics should be given in a compositional way. Such a semantics is given in this paper for Modelica-style languages. Moreover, the approach is also used to consider more general ...
متن کاملThe Denotational Semantics of slotted-Circus
This paper describes a complete denotational semantics, in the UTP framework, of slotted-Circus, a generic framework for reasoning about discrete timed/synchronously clocked systems. The key result presented here is a comprehensive semantics of the entire language that addresses various semantics issues that have been uncovered, whilst laying foundations for future extensions, particularly towa...
متن کاملParsing and Semantic Analysis of Modelica Code for Non-Simulation Applications
While most discussions involving Modelica focus on its technical capabilities (i.e. object-oriented modeling, handling of DAEs, standard libraries, etc.), the benefits of having a formal specification of the language syntax and semantics for non-simulation applications are often overlooked. Unlike many proprietary modeling technologies, where the syntax and semantics of the models change accord...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2016